<div class="rcontent" style="display: block;">
  <div class="info">
    <div style="width:717px !important;width:717px;">
      <div>
        <div class="lt bigtxt clr9">Edit Profile</div>
        <div class="rt"><a href="http://www.keralachristianmatrimony.com/profiledetail/index.php?act=fullprofilenew&amp;id=KCM289886" target="_blank" class="v-profile-link mediumtxt">View my profile</a></div>
        <div class="clr-bth"></div>
        <div style="border-bottom: 1px dotted #8F8F8F;" class="padb20">
          <!--  -->
        </div>
      </div>
      <div class="padb20 padt15">
        <div class="lt bigtxt-s clr9">Location</div>
        <div class="rt smalltxt clr7"> Fields marked as '<span class="rdclr" style="vertical-align:text-top;">*</span>' are Mandatory</div>
        <div class="clr-bth"></div>
      </div>
    </div>
    <div id="content">
      <!-- form fields stats here -->
      <div id="frm" style="width:560px;">
        <form method="post" name="frmLocation" id="frmLocation">
          <input type="hidden" name="submit" id="submit" value="location">
          <input type="hidden" name="oldResidingArea" id="oldResidingArea" value="">
          <input type="hidden" name="oldResidingCity" id="oldResidingCity" value="">
          <input type="hidden" name="oldPlaceOfBirth" id="oldPlaceOfBirth" value="">
          <dl>
            <dt>
              <label for="Country" style="display:block; padding:0px 0px 5px 0px"><strong>Country Living In <span class="star">*</span></strong></label>
            </dt>
            <dd>
               <select onchange="selectCountryCode(this.value);" id="country" name="living_country" tabindex="25" style="width:175px;">
              
              <?php echo $country_living;?>
              </select>
              <div id="countrySpan" class="error"></div>
            </dd>
          </dl>
          <dl class="dotted">
            <!--  -->
          </dl>
          <div id="doberthDiv"> </div>
          <dl id="stateDiv">
            <dt>
              <label for="State" style="display:block; padding:0px 0px 5px 0px"><strong>Residing State <span class="star">*</span></strong></label>
            </dt>
            <dd>
              <select name="living_state" id="residingState" class="txtBox input" style="width:176px;">
               <?php echo $state;?>
              </select>
              <div id="residingStateSpan" class="error"></div>
              <input type="hidden" name="stateOption" id="stateOption" value="35">
            </dd>
          </dl>
          <dl class="dotted">
            <!--  -->
          </dl>
          <dl id="cityDiv">
            <dt>
              <label for="State" style="display:block; padding:0px 0px 5px 0px"><strong>Residing City/District <span class="star">*</span></strong></label>
            </dt>
            <dd>
              <select name="city" id="residingCity" class="txtBox input" style="width:176px;">
                <option value="0">--Select--</option>
                <option value="248">Thiruvananthapuram</option>
                <option value="249">Alappuzha</option>
                <option value="250">Ernakulam</option>
                <option value="251">Idukki</option>
                <option value="252">Kannur</option>
                <option value="253">Kasargod</option>
                <option value="254">Kollam</option>
                <option value="255">Kottayam</option>
                <option value="256">Kozhikode</option>
                <option value="257">Malappuram</option>
                <option value="258">Palakkad</option>
                <option value="259">Pathanamthitta</option>
                <option value="260" selected="">Thrissur</option>
                <option value="261">Wayanad</option>
              </select>
              <input type="hidden" name="cityOption" id="cityOption" value="14">
              <div id="residingCitySpan" class="error"></div>
            </dd>
          </dl>
          <dl class="dotted">
            <!--  -->
          </dl>
          <dl>
            <dt>
              <label for="Citizenship" style="display:block; padding:0px 0px 5px 0px"><strong>Citizenship <span class="star">*</span></strong></label>
            </dt>
            <dd>
              <select id="citizenship" name="citizenship" class="txtBox input" style="width:176px;">
  <?php echo $citizenship;?>
              </select>
              <div id="citizenshipSpan" class="error"></div>
            </dd>
          </dl>
          <dl class="dotted">
            <!--  -->
          </dl>
          <span id="resStatusDisplay" style="display: none;">
          <dl>
            <dt>
              <label for="ResidenceStatus" style="display:block; padding:0px 0px 5px 0px"><strong>Resident Status <span class="star">*</span></strong></label>
            </dt>
            <dd>
              <select id="residentStatus" name="residentStatus" class="txtBox input" style="width:176px;">
                <option value="0">--Select--</option>
                <option value="2">Permanent resident</option>
                <option value="3">Work permit</option>
                <option value="4">Student visa</option>
                <option value="5">Temporary visa</option>
                <option value="6">Non-Resident</option>
              </select>
              <div id="residentStatusSpan" class="error"></div>
            </dd>
          </dl>
          <dl class="dotted">
            <!--  -->
          </dl>
          </span>
          <div class="hd" align="right" style="border:none;">
            <div>
              <input type="submit" name="location" class="btnbig" value="Save">
            </div>
          </div>
        </form>
      </div>
      <!-- form fields end here -->
    </div>
  </div>
</div>
